package com.tbit.main.service.impl;

import com.tbit.main.dao.core.UserFaceDataDao;
import com.tbit.main.service.UserFaceDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 人脸识别相关接口
 *
 */
@Service
@Slf4j
public class UserFaceDataServiceImpl implements UserFaceDataService {

    @Resource
    private UserFaceDataDao userFaceDataDao;

    @Override
    public void deleteFaceCacheByUserId(Integer userId) {
        userFaceDataDao.deleteFaceCacheByUserId(userId);
    }
}
